﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_WORKORDERLOG.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_WORKORDERLOG数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_WORKORDERLOG", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_WORKORDERLOG", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_WORKORDERLOG_Entity
    {
        #region 变量定义
        ///<summary>
        ///自增编号
        ///</summary>
        private long _aUTOID;
        ///<summary>
        ///工单编号
        ///</summary>
        private long _cASEID = 0;
        ///<summary>
        ///客户代码
        ///</summary>
        private string _cUSTOMERCODE = String.Empty;
        ///<summary>
        ///操作编号
        ///</summary>
        private long? _oPERATIONID = 0;
        ///<summary>
        ///操作名称
        ///</summary>
        private string _oPERATIONNAME = String.Empty;
        ///<summary>
        ///工单类型编号
        ///</summary>
        private long? _oRDERTYPEID = 0;
        ///<summary>
        ///工单类型名称
        ///</summary>
        private string _oRDERTYPENAME = String.Empty;
        ///<summary>
        ///当前工单状态编号
        ///</summary>
        private long? _cURRENTSTATUSID = 0;
        ///<summary>
        ///当前工单状态名称
        ///</summary>
        private string _cURRENTSTATUSNAME = String.Empty;
        ///<summary>
        ///后顺状态编号
        ///</summary>
        private long? _nEXTSTATUSID = 0;
        ///<summary>
        ///后顺状态名称
        ///</summary>
        private string _nEXTSTATUSNAME = String.Empty;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _cREATETIME;
        ///<summary>
        ///创建人编号
        ///</summary>
        private long? _cREATEPEOPLEID = 0;
        ///<summary>
        ///创建人
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
        ///<summary>
        ///备注
        ///</summary>
        private string _rEMARK = String.Empty;
        ///<summary>
        ///更新内容
        ///</summary>
        private string _uPDATECONTENT = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_WORKORDERLOG_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///自增编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_WORKORDERLOG")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long AUTOID
        {
            get { return _aUTOID; }
            set { _aUTOID = value; }

        }

        ///<summary>
        ///工单编号
        ///</summary>		
        public long CASEID
        {
            get { return _cASEID; }
            set { _cASEID = value; }

        }

        ///<summary>
        ///客户代码
        ///</summary>		
        public string CUSTOMERCODE
        {
            get { return _cUSTOMERCODE; }
            set
            {
                _cUSTOMERCODE = value;
            }

        }

        ///<summary>
        ///操作编号
        ///</summary>		
        public long? OPERATIONID
        {
            get { return _oPERATIONID; }
            set { _oPERATIONID = value; }

        }

        ///<summary>
        ///操作名称
        ///</summary>		
        public string OPERATIONNAME
        {
            get { return _oPERATIONNAME; }
            set
            {
                _oPERATIONNAME = value;
            }

        }

        ///<summary>
        ///工单类型编号
        ///</summary>		
        public long? ORDERTYPEID
        {
            get { return _oRDERTYPEID; }
            set { _oRDERTYPEID = value; }

        }

        ///<summary>
        ///工单类型名称
        ///</summary>		
        public string ORDERTYPENAME
        {
            get { return _oRDERTYPENAME; }
            set
            {
                _oRDERTYPENAME = value;
            }

        }

        ///<summary>
        ///当前工单状态编号
        ///</summary>		
        public long? CURRENTSTATUSID
        {
            get { return _cURRENTSTATUSID; }
            set { _cURRENTSTATUSID = value; }

        }

        ///<summary>
        ///当前工单状态名称
        ///</summary>		
        public string CURRENTSTATUSNAME
        {
            get { return _cURRENTSTATUSNAME; }
            set
            {
                _cURRENTSTATUSNAME = value;
            }

        }

        ///<summary>
        ///后顺状态编号
        ///</summary>		
        public long? NEXTSTATUSID
        {
            get { return _nEXTSTATUSID; }
            set { _nEXTSTATUSID = value; }

        }

        ///<summary>
        ///后顺状态名称
        ///</summary>		
        public string NEXTSTATUSNAME
        {
            get { return _nEXTSTATUSNAME; }
            set
            {
                _nEXTSTATUSNAME = value;
            }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        public DateTime? CREATETIME
        {
            get { return _cREATETIME; }
            set { _cREATETIME = value; }

        }

        ///<summary>
        ///创建人编号
        ///</summary>		
        public long? CREATEPEOPLEID
        {
            get { return _cREATEPEOPLEID; }
            set { _cREATEPEOPLEID = value; }

        }

        ///<summary>
        ///创建人
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }

        ///<summary>
        ///备注
        ///</summary>		
        public string REMARK
        {
            get { return _rEMARK; }
            set
            {
                _rEMARK = value;
            }

        }

        ///<summary>
        ///更新内容
        ///</summary>		
        public string UPDATECONTENT
        {
            get { return _uPDATECONTENT; }
            set
            {
                _uPDATECONTENT = value;
            }

        }


        #endregion

    }
}
